﻿<!doctype html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no;" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no" />
    <title>修改配送费用</title>
    <link href="/admin_wechat/css/css.css" rel="stylesheet" />
    <script src="/admin_wechat/scripts/common/jquery.js"></script>
    <script src="/admin_wechat/scripts/common/ajax-data.js"></script>
    <script src="/admin_wechat/scripts/common/base.js"></script>
    <script src="/admin_wechat/scripts/common/dialog.js"></script>
    <script src="/admin_wechat/scripts/order.js"></script>
    <style type="text/css">
        .order {
            text-align: center;
            width: 95%;
            height: 45px;
            margin-left: auto;
            margin-right: auto;
            margin-top: 20px;
            border: 1px solid #ddd;
            line-height: 45px;
        }

            .order input {
                height: 35px;
                width: 90%;
                border-style: none;
                outline: none;
                font-size: 18px;
            }

        .submit {
            width: 95%;
            height: 40px;
            border-radius: 20px;
            line-height: 40px;
            background-color: #B8B8B8;
            color: #fff;
            text-align: center;
            margin: 50px auto 0px auto;
            font-size: 18px;
        }
    </style>

</head>
<body>

    <div>
        <div class="order">
            <input type="text" id="discount"  placeholder="配送费用如：0.00">
        </div>
        <div class="submit">确&nbsp;&nbsp;认&nbsp;&nbsp;提&nbsp;&nbsp;交</div>
    </div>
    <script>
        $(function () {
            var uid = getQueryString("uid")
            var oid = getQueryString("oid")

            $(".submit").click(function () {
                var discount = $("#discount").val();
                update_shipfee(oid, uid, discount)
            });
        });
    </script>
</body>
</html>
